package de.lianowar.whereismymoney.sql.data;

import java.sql.Date;

public class MoneyAmount {

	private int id;
	private float amount;
	private String comment;
	private String date;
	private int account_fk;
	

	public MoneyAmount()
	{
	
	}

	public MoneyAmount(int id, float amount, String comment, String date,int account_fk) {
		super();
		this.id = id;
		this.amount = amount;
		this.comment = comment;
		this.date = date;
		this.account_fk = account_fk;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public float getAmount() {
		return amount;
	}

	public void setAmount(float amount) {
		this.amount = amount;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}
	
	public int getAccount_fk() {
		return account_fk;
	}

	public void setAccount_fk(int account_fk) {
		this.account_fk = account_fk;
	}

	
	public String toString()
	{
		return "id: "+this.id + "amount: "+this.amount + "comment: "+ this.comment +"date: "+this.date;
	
	}
}
